Network Icon

Editing a Script

To edit a script, press the Run Script action’s Edit button in the Event Info or Responder Info window.

Text or File Menu

Enter the text of the script in this window or use the Text-File menu to select a script file located elsewhere on your Mac. When you are using a separate script file, Thinking Home will hand off editing to your preferred script-editing application. You can choose that in the Preferences window.

Script text

This is where you type in your script. When you check it and the script passes, the text will be formatted in color to make it more readable. To learn more about scripting, take a look at the Script Examples.

Hint

Advanced users may choose to run unix shell scripts or use other languages. The convention with these scripts is to place a special line at the start of the script that identifes which language or interpreter the script uses. This does not apply to AppleScript.

Stop Button

Stops a script that is currently running.

Run button

Runs the script.

Check button

Checks the script to ensure it is valid, but does not run it. Reports any errors. If the script passes, the text is reformatted with color to make it more readable.

Cancel and OK buttons

Changes are not saved until you press the OK button.